package com.rm.zeyou.util.sms;

/**
 * @Author ZhangKeChen  🤙🤙🏼🤙🏽
 * @Date 2023/1/5
 * @Description
 */
public interface SendSmsService {
    /**
     * 腾讯云发送验证码
     *
     * @param tel
     * @param codeSms
     * @return
     */
    String SendSms(String tel, String codeSms) throws Exception;


    /**
     * 发送短信的接口
     * @param phoneNum 手机号
     * @param message 消息
     * @return
     */
    default Integer sendSms(String phoneNum, String message,String templateCode) throws Exception {
        return 0;
    }

    default Integer orderSendSms(String phoneNum, String name,String templateCode) throws Exception {
        return 0;
    }

}
